Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose min/max open file descriptors in Cluster Stats API #4681

Closed
bleskes opened this issue Jan 10, 2014 · 1 comment
Closed

Expose min/max open file descriptors in Cluster Stats API #4681

bleskes opened this issue Jan 10, 2014 · 1 comment

Comments

@bleskes
Copy link
Contributor

bleskes commented Jan 10, 2014

Currently we only return the average number of open file descriptors of all nodes (under the avg_open_file_descriptors key). The min/max values are more interesting to spot problems. Also for consistency, we should use the following format:

 "open_file_descriptors": {
      "min": 200,
      "max": 346,
       "avg": 273
 }
@ghost ghost assigned bleskes Jan 10, 2014
bleskes added a commit that referenced this issue Jan 10, 2014
Also changes the response format of that section to:

```
 "open_file_descriptors": {
      "min": 200,
      "max": 346,
       "avg": 273
 }
```

Closes #4681
bleskes added a commit to bleskes/elasticsearch that referenced this issue Jan 10, 2014
…use readLong instead of readVLong for file descriptors

The minOpenFileDescriptors/maxOpenFileDescriptors can be negative valued if the ClusterStatsNodes response was initialized with no nodes.

Relates to elastic#4681
@s1monw
Copy link
Contributor

s1monw commented Jan 10, 2014

@bleskes can we close this?

@bleskes bleskes closed this as completed Jan 10, 2014
bleskes added a commit that referenced this issue Jan 10, 2014
Also changes the response format of that section to:

```
 "open_file_descriptors": {
      "min": 200,
      "max": 346,
       "avg": 273
 }
```

Closes #4681

Note: this is an aggregate of 3 commits in the 0.90 branch
brusic pushed a commit to brusic/elasticsearch that referenced this issue Jan 19, 2014
Also changes the response format of that section to:

```
 "open_file_descriptors": {
      "min": 200,
      "max": 346,
       "avg": 273
 }
```

Closes elastic#4681

Note: this is an aggregate of 3 commits in the 0.90 branch
mute pushed a commit to mute/elasticsearch that referenced this issue Jul 29, 2015
Also changes the response format of that section to:

```
 "open_file_descriptors": {
      "min": 200,
      "max": 346,
       "avg": 273
 }
```

Closes elastic#4681
mute pushed a commit to mute/elasticsearch that referenced this issue Jul 29, 2015
mute pushed a commit to mute/elasticsearch that referenced this issue Jul 29, 2015
…use readLong instead of readVLong for file descriptors

The minOpenFileDescriptors/maxOpenFileDescriptors can be negative valued if the ClusterStatsNodes response was initialized with no nodes.

Relates to elastic#4681
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants